From cedf7a2c9ec8d4243311ddd366916eafd67ceb76 Mon Sep 17 00:00:00 2001 From: "Panashe M. Fundira" Date: Mon, 25 Jul 2016 21:13:54 -0400 Subject: [PATCH] add man page for metadata subcommand --- src/etc/man/cargo-metadata.1 | 66 ++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 src/etc/man/cargo-metadata.1 diff --git a/src/etc/man/cargo-metadata.1 b/src/etc/man/cargo-metadata.1 new file mode 100644 index 000000000..939d02656 --- /dev/null +++ b/src/etc/man/cargo-metadata.1 @@ -0,0 +1,66 @@ +.TH "CARGO\-METADATA" "1" "May 2016" "The Rust package manager" "Cargo Manual" +.hy +.SH NAME +.PP +cargo\-metadata \- Machine-readable metadata about the current project +.SH SYNOPSIS +.PP +\f[I]cargo metadata\f[] [OPTIONS] +.SH DESCRIPTION +.PP +Output the resolved dependencies of a project, the concrete used versions +including overrides, in machine-readable format. +.SH OPTIONS +.TP +.B \-h, \-\-help +Print this message. +.RS +.RE +.TP +.B \-\-features \f[I]FEATURES\f[] +Space-separated list of features. +.RS +.RE +.TP +.B \-\-no\-default\-features +Do not include the \f[C]default\f[] feature. +.RS +.RE +.TP +.B \-\-no\-deps +Output information only about the root package and don\[aq]t fetch +dependencies. +.RS +.RE +.TP +.B \-\-manifest\-path \f[I]PATH\f[] +Path to the manifest. +.RS +.RE +.TP +.B \-\-format\-version \f[I]VERSION\f[] +Format version [default: 1]. Valid values: 1. +.RS +.RE +.TP +.B \-v, \-\-verbose +Use verbose output. +.RS +.RE +.TP +.B \-q, \-\-quiet +No output printed to stdout. +.RS +.RE +.TP +.B \-\-color \f[I]WHEN\f[] +Coloring: auto, always, never. +.RS +.RE +.SH SEE ALSO +.PP +cargo(1) +.SH COPYRIGHT +.PP +This work is dual\-licensed under Apache 2.0 and MIT terms. +See \f[I]COPYRIGHT\f[] file in the cargo source distribution. -- 2.30.2